package operator;

/**
 * @author shkstart
 * @date 2022/3/31 - 22:04
 */
public class LogicTest {
    public static void main(String[] args) {
        boolean b1 = true;
        boolean b2 = false;
        short s = 42;
        //if(b2 == true);
        if ((s++ == 42) && (b2 = true)) s++;
        if ((b1 == false) || (++s == 45)) s++;
        System.out.println("s = " + s);
    }
}
